package com.xueyi.system.company.domain.dto;

import com.xueyi.system.company.domain.po.CompanyPo;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 企业基础信息管理 数据传输对象
 *
 * @author yanhe
 */
public class CompanyDto extends CompanyPo {

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("name", getName())
            .append("logo", getLogo())
            .append("documentType", getDocumentType())
            .append("registrationNum", getRegistrationNum())
            .append("businessTerm", getBusinessTerm())
            .append("principalProperties", getPrincipalProperties())
            .append("areaIds", getAreaIds())
            .append("industry", getIndustry())
            .append("provinceCode", getProvinceCode())
            .append("cityCode", getCityCode())
            .append("districtCode", getDistrictCode())
            .append("address", getAddress())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("representativeName", getRepresentativeName())
            .append("representativeType", getRepresentativeType())
            .append("representativeNum", getRepresentativeNum())
            .append("representativePhone", getRepresentativePhone())
            .append("contactName", getContactName())
            .append("contactCardType", getContactCardType())
            .append("contactCard", getContactCard())
            .append("contactPhone", getContactPhone())
            .append("contactEmail", getContactEmail())
            .append("licenseInformation", getLicenseInformation())
            .append("legalRepresentative", getLegalRepresentative())
            .append("principalPart", getPrincipalPart())
            .append("websiteUrl", getWebsiteUrl())
            .append("subjectPhone", getSubjectPhone())
            .append("createBy", getCreateBy())
            .append("createName", getCreateName())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}